package com.dingup.mock.feign.client;



import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;


/**
 * Created by wancheng on 2018/7/5.
 */
@Component
@FeignClient(value = "p-innermgrweb") //这里的name对应调用服务的spring.applicatoin.name
public interface ClassInfoFeignClient {

    @RequestMapping(value = "/feign/class_info/get_studentIds_by_teacherId.do", method = RequestMethod.POST)
    List<String> getClassStudentIds(String teacherId);
}
